package team.pra.manager.mapper;

import team.pra.manager.common.PageHelper;
import team.pra.manager.pojo.RoomType;

import java.util.List;

public interface RoomTypeMapper {
    boolean insertRoomType(RoomType roomType);
    boolean updateRoomType(RoomType roomType);
    boolean deleteRoomType(Integer id);
    Integer countRoomType();
    Integer countFilterdRoomType(PageHelper<RoomType> pageHelper);
    List<RoomType> findRoomTypeByCondition(PageHelper<RoomType> pageHelper);
    List<RoomType> findAllRoomType();
}
